﻿Array.prototype.toUpperCase = Array.prototype.toUpperCase || function () {
    if (this === undefined || this === null) {
        throw new TypeError('"this" is null or not defined');
    }

    var length = this.length >>> 0; // Hack to convert object.length to a UInt32


    for (var i=0; i < length; i++) {
        this[i] === this[i].toUpperCase();
    }

    return this;
};